"Sudo" is a very useful tool on the Unix/linux platform that allows system administrators to assign some reasonable "rights" to ordinary users to perform tasks that only superuser or other privileged users can accomplish, such as running some
Go to Ubuntu and run the root permission command-sudo and Su commands for Ubuntu user management
Sudo refers to super-user do, which allows the current user to temporarily run this command as the administrator.
Su is used to change the current user.
The following error was reported when Sudo was first runSudo:must be setuid root, so the Internet to find a solution, the search came out of the way to solveLs-l/usr/bin/sudoChown Root:root/usr/bin/sudochmod 4755/usr/bin/sudoRebootI tested the
I. Using the SU command to temporarily switch user identities1, SU's applicable conditions and powerThe SU command is the tool to switch users, how to understand it? For example, we use ordinary user Beinan login, but to add user tasks, execute
In a Linux system, there are times when ordinary users can't do something, unless it's a root user. Then you need to use the SU command to temporarily switch to the root identity to do things.
su:substitute[' sʌbstɪtjuːt] instead of user
The SU
Source: http://www.jb51.net/LINUXjishu/12713.htmlI. Using the SU command to temporarily switch user identities1, SU's applicable conditions and powerThe SU command is the tool to switch users, how to understand it? For example, we use ordinary user
I. Using the SU command to temporarily switch user identities1, Su's applicable conditions and powerThe SU command is the tool to switch users, how to understand it? For example, we use ordinary user Beinan login, but to add user tasks, execute
I. Using the SU command to temporarily switch user identities1, SU's applicable conditions and powerThe SU command is the tool to switch users, how to understand it? For example, we use ordinary user Beinan login, but to add user tasks, execute
I. Using the SU command to temporarily switch user Identities 1, SU's applicable conditions and Power SU command is to switch User's tool, how to understand it? For example, we use ordinary user Beinan login, but to add user tasks, execute useradd,
1. restricting users who use the SU command The root user in the Linux system is too large, so in practice it is generally logged in as a normal user, and can be switched to the root user when needed. Switch user identities using the SU
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.